package vn.co.thn.android.store.adapter;

import java.util.List;

import android.content.Context;
import android.support.v4.app.FragmentManager;
import android.view.LayoutInflater;
import android.widget.ArrayAdapter;

public class NSCommonAdapter<T> extends ArrayAdapter<T> {
	protected FragmentManager mFragmentManager;
	protected LayoutInflater mInflater;

	public NSCommonAdapter(Context context, int resource, List<T> objects) {
		super(context, resource, objects);
		mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
	}

	public NSCommonAdapter(Context context, int resource, List<T> objects, FragmentManager fm) {
		super(context, resource, objects);
		mFragmentManager = fm;
		mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
	}
}
